package com.wenhui.nzapp.ui.activity.system;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.wenhui.nzapp.R;
import com.wenhuitec.sysui.TitleBuilder;

public class AccountActivity extends AppCompatActivity {
    private Context mContext;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_account);
        mContext = this;
        new TitleBuilder(this)
                .setTitleText("账号与安全")
//                .setLeftIco(R.drawable.yp)
                .setLeftIcoListening((view) -> finish());
        findViewById(R.id.updatePwdBut).setOnClickListener(view -> {
            startActivity(new Intent(mContext, UpdatePassActivity.class));
        });
    }
}
